package com.slliver;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@SpringBootApplication
//@EnableDiscoveryClient
@EnableZuulProxy
public class ZuulApplication {


    // 可以通过网址：http://www.slliver.com:9527/product-service/product/get/1 访问产品服务
    // 替换原来的网址 http://localhost:8888/product/get/1

    public static void main(String[] args) {
        SpringApplication.run(ZuulApplication.class, args);
    }
}
